import { Plugin } from "../../core";
import { Component, ReactElement } from "react";

export interface RenderPrintProps {
  onClick: () => void;
}

export interface PrintMenuItemProps {
  onClick(): void;
}

export interface PrintProps {
  children?: (props: RenderPrintProps) => ReactElement;
}

export interface PrintPlugin extends Plugin {
  Print: (props: PrintProps) => ReactElement;
  PrintButton: () => ReactElement;
  PrintMenuItem: (props: PrintMenuItemProps) => ReactElement;
}

export interface PrintPluginProps {
  enableShortcuts?: boolean;
}

export class PrintIcon extends Component {}
